<%-- 
    Document   : EditProduct
    Created on : 31 mai 2012, 12:33:00
    Author     : isen
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>

    <center>


        <%if (request.getAttribute("resultado") != null) {%>
        <p><%= request.getAttribute("resultado")%></p>
        <% }%>

        <h1>To modify a product, please fill in this form:</h1><br>
        help? <a href="../view/ListProducts.jsp">List de todos los productos que ya hay en la tienda</a><br><br>
        
        


        <form action="/MyFrontController"><input name="form" value="editProductServlet" type="hidden">
            Old name: <input name="oldname" value="" type="text"><br>
            New name: <input name="ProductName" value="" type="text"><br>
            New stock: <input name="Stock" value="" type="text"><br>
            New short description: <textarea name="ShortDescription" rows="4" cols="20"> </textarea><br>
            New long description: <textarea name="LongDescription" rows="6" cols="24"> </textarea><br>
            New price: <input name="ProductPrice" value="" type="text"><br>

            <button>Enviar</button>
        </form>        

    </center>
    
<%@include file="/WEB-INF/include/menuAdministrador.jsp" %>

</body>
</html>
